package edu.xhu.behavior.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.xhu.model.behavior.pojos.BiliUserChatDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface BiliUserChatDetailMapper extends BaseMapper<BiliUserChatDetail> {


    /**
     * 根据ids,批量插入
     */
    int insertBatch(List<BiliUserChatDetail> details);

    /**
     * 根据ids,批量更新,状态为code
     */
    int updateByIdBatch(List<Long> ids, String code);

    /**
     * 根据ids,批量更新,离线为code
     */
    int updateOffByIdBatch(List<Long> ids, String code, String status);



}
